package org.go.ee.jmx.mbean.threadpool;

import javax.management.NotCompliantMBeanException;
import javax.management.StandardMBean;

public class ThreadPool extends StandardMBean implements ThreadPoolMBean {

	private ThreadPool threadPool = null;

	protected ThreadPool(ThreadPool threadPool) throws NotCompliantMBeanException {
		super(ThreadPool.class);
		this.setThreadPool(threadPool);
	}

	public ThreadPool getThreadPool() {
		return threadPool;
	}

	public void setThreadPool(ThreadPool threadPool) {
		this.threadPool = threadPool;
	}
}
